package com.example.config;

import lombok.Data;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Copyright: Copyright (c) 2022
 *
 * <p>
 * Description:
 *
 * @author LiuFeng
 * @version 2022/12/7 12:18
 * @since
 */
@Configuration
@ConfigurationProperties(prefix = "opc")
@Data
public class OpcProperties {

    //一标段数据地址
    private String sectionOne;
    //一标段PLC地址
    private String sectionOneAddress;

    //二标段数据地址
    private String sectionTwo;

    //二标段PLC地址
    private String sectionTwoAddress;
}
